package com.lcm.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author: Coder-Lcm
 * @date: 2020/10/29 15:02
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{

    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService, fallback for -paymentInfo_OK, o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService, fallback for -paymentInfo_TimeOut, o(╥﹏╥)o";
    }
}
